<ui:fragment xmlns="http://www.w3.org/1999/xhtml"
			 xmlns:ui="http://java.sun.com/jsf/facelets"
			 xmlns:h="http://java.sun.com/jsf/html"
			 xmlns:f="http://java.sun.com/jsf/core"
			 xmlns:rich="http://richfaces.org/rich"
      		 xmlns:a4j="http://richfaces.org/a4j" >
	
	<rich:toolBar style="height : 5px;" >
		
		<!-- Nao Logado -->
		<rich:toolBarGroup rendered="#{not redirect.logado}"  >
			<h:form>
				<h:outputLabel value="Passar o Cartao" >
					<a4j:support event="onclick" action="#{redirect.redirecionarLogin}" />
				</h:outputLabel>
			</h:form>	
		</rich:toolBarGroup>
		
		<!-- Logado -->
		<rich:toolBarGroup rendered="#{redirect.logado}" location="right" >
			<h:form>
				<h:outputLabel value="Home" >
					 <a4j:support event="onclick" action="#{redirect.redirecionarPaginaInicial}" />
				 </h:outputLabel> 
			</h:form>
		</rich:toolBarGroup>
	</rich:toolBar>
</ui:fragment>